package cn.lk1234.imt.controller;

import java.io.IOException;
import java.sql.SQLException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class ManagePageController {
	
	@RequestMapping(value = "/toManagePage")
	public ModelAndView animationDetail(HttpServletRequest request, HttpServletResponse response,
			HttpSession httpSession, Model model) throws IOException, SQLException {
		ModelAndView view = null;
		view = new ModelAndView("managePage");
		//模拟已登录状态
		model.addAttribute("loginFlag", "1");
		return view;
	}
	
}
